package com.opengroupe.dto;



import java.util.ArrayList;
import java.util.List;


public class QuestionDto implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 74439286227161718L;
	private Integer idQuestion;
	private CategorieDto categorieDto;
	private String contenuQuestion;
	private List<ReponseDto> reponsesCorrectes = new ArrayList<ReponseDto>(0);
	private List<ReponseDto> reponsesEventuelles = new ArrayList<ReponseDto>(0);

	public QuestionDto() {
	}

	public QuestionDto(CategorieDto categorie) {
		this.categorieDto = categorie;
	}
	
	public QuestionDto(String contenuQuestion) {
		this.contenuQuestion = contenuQuestion;
	}

	public QuestionDto(CategorieDto categorie, String contenuQuestion,
			List<ReponseDto> reponsesEventuelles, List<ReponseDto> reponsesCorrectes) {
		this.categorieDto = categorie;
		this.contenuQuestion = contenuQuestion;
		this.reponsesEventuelles = reponsesEventuelles;
		this.reponsesCorrectes = reponsesCorrectes;
	}

	public Integer getIdQuestion() {
		return this.idQuestion;
	}

	public void setIdQuestion(Integer idQuestion) {
		this.idQuestion = idQuestion;
	}
	public CategorieDto getCategorie() {
		return this.categorieDto;
	}

	public void setCategorie(CategorieDto categorie) {
		this.categorieDto = categorie;
	}

	public String getContenuQuestion() {
		return this.contenuQuestion;
	}

	public void setContenuQuestion(String contenuQuestion) {
		this.contenuQuestion = contenuQuestion;
	}


	public List<ReponseDto> getReponsesEventuelles() {
		return this.reponsesEventuelles;
	}

	public void setReponsesEventuelles(List<ReponseDto> reponses) {
		this.reponsesEventuelles = reponses;
	}

	public List<ReponseDto> getReponsesCorrectes() {
		return this.reponsesCorrectes;
	}

	public void setReponsesCorrectes(List<ReponseDto> reponses_1) {
		this.reponsesCorrectes = reponses_1;
	}

}

